%%{init: {'themeVariables': { 'fontSize': '12px'}}}%%
graph TD
    classDef path fill:#eee,stroke:#000,color:#000
    classDef plan fill:#fff,stroke-width:1px,color:#000
    classDef itemplan fill:#fff,stroke-width:2px,color:#000
    classDef unbatchedplan fill:#dff,stroke-width:1px,color:#000
    classDef sideeffectplan fill:#fcc,stroke-width:2px,color:#000
    classDef bucket fill:#f6f6f6,color:#000,stroke-width:2px,text-align:left

    subgraph "Buckets for queries/v4/rbac.basic"
    Bucket0("Bucket 0 (root)<br /><br />1: 214, 218, 222, 226, 230<br />ᐳ: 8, 9, 82, 89, 99, 109, 234, 235, 236, 237, 238, 239, 240, 10, 27, 28, 36, 37<br />2: 7, 16, 21, 30, 39, 45, 51, 56, 62, 68, 72, 77<br />ᐳ: 215, 219, 223, 227, 231<br />3: 12, 18, 24, 33, 42, 48, 53, 59, 65, 70, 75, 80<br />ᐳ: 11, 13, 23, 25, 32, 34, 41, 43, 47, 49, 58, 60, 64, 66, 74, 76, 79, 81, 232, 233<br />4: 86, 103, 113"):::bucket
    Bucket1("Bucket 1 (nullableBoundary)<br />Deps: 13, 82<br /><br />ROOT PgSelectSingleᐸperson_secretᐳ[13]"):::bucket
    Bucket2("Bucket 2 (nullableBoundary)<br />Deps: 18, 86, 82<br /><br />ROOT Connectionᐸ16ᐳ[18]"):::bucket
    Bucket3("Bucket 3 (nullableBoundary)<br />Deps: 25, 89, 215, 82<br /><br />ROOT PgSelectSingleᐸpersonᐳ[25]<br />1: <br />ᐳ: 90, 216, 91, 92, 217<br />2: PgSelectRows[126]<br />ᐳ: First[125], PgSelectSingle[127]"):::bucket
    Bucket4("Bucket 4 (nullableBoundary)<br />Deps: 34, 89, 219, 82<br /><br />ROOT PgSelectSingleᐸpersonᐳ[34]<br />1: <br />ᐳ: 93, 220, 94, 95, 221<br />2: PgSelectRows[133]<br />ᐳ: First[132], PgSelectSingle[134]"):::bucket
    Bucket5("Bucket 5 (nullableBoundary)<br />Deps: 43, 89, 223, 82<br /><br />ROOT PgSelectSingleᐸpersonᐳ[43]<br />1: <br />ᐳ: 96, 224, 97, 98, 225<br />2: PgSelectRows[140]<br />ᐳ: First[139], PgSelectSingle[141]"):::bucket
    Bucket6("Bucket 6 (nullableBoundary)<br />Deps: 49, 99<br /><br />ROOT PgSelectSingleᐸleft_armᐳ[49]"):::bucket
    Bucket7("Bucket 7 (nullableBoundary)<br />Deps: 53, 103, 99<br /><br />ROOT Connectionᐸ51ᐳ[53]"):::bucket
    Bucket8("Bucket 8 (nullableBoundary)<br />Deps: 60, 89, 227, 99<br /><br />ROOT PgSelectSingleᐸpersonᐳ[60]<br />1: <br />ᐳ: 106, 228, 107, 108, 229<br />2: PgSelectRows[147]<br />ᐳ: First[146], PgSelectSingle[148]"):::bucket
    Bucket9("Bucket 9 (nullableBoundary)<br />Deps: 66, 109<br /><br />ROOT PgSelectSingleᐸpostᐳ[66]"):::bucket
    Bucket10("Bucket 10 (nullableBoundary)<br />Deps: 70, 113, 109<br /><br />ROOT Connectionᐸ68ᐳ[70]"):::bucket
    Bucket11("Bucket 11 (nullableBoundary)<br />Deps: 76, 89, 233, 109<br /><br />ROOT PgSelectSingleᐸpersonᐳ[76]<br />1: Connection[153]<br />ᐳ: 116, 117, 118<br />2: ConnectionItems[181]"):::bucket
    Bucket12("Bucket 12 (nullableBoundary)<br />Deps: 81<br /><br />ROOT PgSelectSingleᐸreturn_table_without_grantsᐳ[81]"):::bucket
    Bucket16("Bucket 16 (nullableBoundary)<br />Deps: 127, 82<br /><br />ROOT PgSelectSingle{3}ᐸperson_secretᐳ[127]"):::bucket
    Bucket17("Bucket 17 (nullableBoundary)<br />Deps: 134, 82<br /><br />ROOT PgSelectSingle{4}ᐸperson_secretᐳ[134]"):::bucket
    Bucket18("Bucket 18 (nullableBoundary)<br />Deps: 141, 82<br /><br />ROOT PgSelectSingle{5}ᐸperson_secretᐳ[141]"):::bucket
    Bucket19("Bucket 19 (nullableBoundary)<br />Deps: 148, 99<br /><br />ROOT PgSelectSingle{8}ᐸleft_armᐳ[148]"):::bucket
    Bucket20("Bucket 20 (listItem)<br />Deps: 82<br /><br />ROOT __Item{20}ᐸ86ᐳ[163]"):::bucket
    Bucket21("Bucket 21 (listItem)<br />Deps: 99<br /><br />ROOT __Item{21}ᐸ103ᐳ[165]"):::bucket
    Bucket22("Bucket 22 (listItem)<br />Deps: 109<br /><br />ROOT __Item{22}ᐸ113ᐳ[167]"):::bucket
    Bucket23("Bucket 23 (nullableBoundary)<br />Deps: 164, 82<br /><br />ROOT PgSelectSingle{20}ᐸperson_secretᐳ[164]"):::bucket
    Bucket24("Bucket 24 (nullableBoundary)<br />Deps: 166, 99<br /><br />ROOT PgSelectSingle{21}ᐸleft_armᐳ[166]"):::bucket
    Bucket25("Bucket 25 (nullableBoundary)<br />Deps: 168, 109<br /><br />ROOT PgSelectSingle{22}ᐸpostᐳ[168]"):::bucket
    Bucket27("Bucket 27 (listItem)<br />Deps: 109<br /><br />ROOT __Item{27}ᐸ181ᐳ[190]"):::bucket
    Bucket28("Bucket 28 (nullableBoundary)<br />Deps: 191, 109<br /><br />ROOT PgSelectSingle{27}ᐸpostᐳ[191]"):::bucket
    end
    Bucket0 --> Bucket1 & Bucket2 & Bucket3 & Bucket4 & Bucket5 & Bucket6 & Bucket7 & Bucket8 & Bucket9 & Bucket10 & Bucket11 & Bucket12
    Bucket2 --> Bucket20
    Bucket3 --> Bucket16
    Bucket4 --> Bucket17
    Bucket5 --> Bucket18
    Bucket7 --> Bucket21
    Bucket8 --> Bucket19
    Bucket10 --> Bucket22
    Bucket11 --> Bucket27
    Bucket20 --> Bucket23
    Bucket21 --> Bucket24
    Bucket22 --> Bucket25
    Bucket27 --> Bucket28

    %% plan dependencies
    PgSelect21[["PgSelect[21∈0] ➊<br />ᐸpersonᐳ<br />More deps:<br />- Constantᐸ1ᐳ[235]"]]:::plan
    Object10{{"Object[10∈0] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    PgSelectInlineApply214["PgSelectInlineApply[214∈0] ➊"]:::plan
    Object10 & PgSelectInlineApply214 --> PgSelect21
    PgSelect30[["PgSelect[30∈0] ➊<br />ᐸpersonᐳ"]]:::plan
    Access28{{"Access[28∈0] ➊<br />ᐸ27.1ᐳ"}}:::plan
    PgSelectInlineApply218["PgSelectInlineApply[218∈0] ➊"]:::plan
    Access28 -->|rejectNull| PgSelect30
    Object10 & PgSelectInlineApply218 --> PgSelect30
    PgSelect39[["PgSelect[39∈0] ➊<br />ᐸpersonᐳ"]]:::plan
    Access37{{"Access[37∈0] ➊<br />ᐸ36.1ᐳ"}}:::plan
    PgSelectInlineApply222["PgSelectInlineApply[222∈0] ➊"]:::plan
    Access37 -->|rejectNull| PgSelect39
    Object10 & PgSelectInlineApply222 --> PgSelect39
    PgSelect56[["PgSelect[56∈0] ➊<br />ᐸpersonᐳ<br />More deps:<br />- Constantᐸ2ᐳ[239]"]]:::plan
    PgSelectInlineApply226["PgSelectInlineApply[226∈0] ➊"]:::plan
    Object10 & PgSelectInlineApply226 --> PgSelect56
    PgSelect72[["PgSelect[72∈0] ➊<br />ᐸpersonᐳ<br />More deps:<br />- Constantᐸ3ᐳ[234]"]]:::plan
    PgSelectInlineApply230["PgSelectInlineApply[230∈0] ➊"]:::plan
    Object10 & PgSelectInlineApply230 --> PgSelect72
    PgSelect7[["PgSelect[7∈0] ➊<br />ᐸperson_secretᐳ<br />More deps:<br />- Constantᐸ3ᐳ[234]"]]:::plan
    Object10 --> PgSelect7
    Access8{{"Access[8∈0] ➊<br />ᐸ2.pgSettingsᐳ"}}:::plan
    Access9{{"Access[9∈0] ➊<br />ᐸ2.withPgClientᐳ"}}:::plan
    Access8 & Access9 --> Object10
    PgSelect45[["PgSelect[45∈0] ➊<br />ᐸleft_armᐳ<br />More deps:<br />- Constantᐸ42ᐳ[238]"]]:::plan
    Object10 --> PgSelect45
    PgSelect62[["PgSelect[62∈0] ➊<br />ᐸpostᐳ<br />More deps:<br />- Constantᐸ7ᐳ[240]"]]:::plan
    Object10 --> PgSelect62
    List232{{"List[232∈0] ➊<br />ᐸ231,74ᐳ"}}:::plan
    Access231{{"Access[231∈0] ➊<br />ᐸ72.m.subqueryDetailsFor149ᐳ"}}:::plan
    First74{{"First[74∈0] ➊"}}:::plan
    Access231 & First74 --> List232
    __Value2["__Value[2∈0] ➊<br />ᐸcontextᐳ"]:::plan
    __Value2 --> Access8
    __Value2 --> Access9
    First11{{"First[11∈0] ➊"}}:::plan
    PgSelectRows12[["PgSelectRows[12∈0] ➊"]]:::plan
    PgSelectRows12 --> First11
    PgSelect7 --> PgSelectRows12
    PgSelectSingle13{{"PgSelectSingle[13∈0] ➊<br />ᐸperson_secretᐳ"}}:::plan
    First11 --> PgSelectSingle13
    PgSelect16[["PgSelect[16∈0] ➊<br />ᐸperson_secretᐳ"]]:::plan
    Object10 --> PgSelect16
    Connection18[["Connection[18∈0] ➊<br />ᐸ16ᐳ"]]:::plan
    PgSelect16 --> Connection18
    First23{{"First[23∈0] ➊"}}:::plan
    PgSelectRows24[["PgSelectRows[24∈0] ➊"]]:::plan
    PgSelectRows24 --> First23
    PgSelect21 --> PgSelectRows24
    PgSelectSingle25{{"PgSelectSingle[25∈0] ➊<br />ᐸpersonᐳ"}}:::plan
    First23 --> PgSelectSingle25
    Lambda27{{"Lambda[27∈0] ➊<br />ᐸspecifier_Person_base64JSONᐳ<br />More deps:<br />- Constantᐸ'fa4f3e13-456c-4a9e-8c1e-37a6e3177d0b'ᐳ[236]"}}:::plan
    Lambda27 --> Access28
    First32{{"First[32∈0] ➊"}}:::plan
    PgSelectRows33[["PgSelectRows[33∈0] ➊"]]:::plan
    PgSelectRows33 --> First32
    PgSelect30 --> PgSelectRows33
    PgSelectSingle34{{"PgSelectSingle[34∈0] ➊<br />ᐸpersonᐳ"}}:::plan
    First32 --> PgSelectSingle34
    Lambda36{{"Lambda[36∈0] ➊<br />ᐸspecifier_Person_base64JSONᐳ<br />More deps:<br />- Constantᐸ'WyJwZW9wbGUiLDBd'ᐳ[237]"}}:::plan
    Lambda36 --> Access37
    First41{{"First[41∈0] ➊"}}:::plan
    PgSelectRows42[["PgSelectRows[42∈0] ➊"]]:::plan
    PgSelectRows42 --> First41
    PgSelect39 --> PgSelectRows42
    PgSelectSingle43{{"PgSelectSingle[43∈0] ➊<br />ᐸpersonᐳ"}}:::plan
    First41 --> PgSelectSingle43
    First47{{"First[47∈0] ➊"}}:::plan
    PgSelectRows48[["PgSelectRows[48∈0] ➊"]]:::plan
    PgSelectRows48 --> First47
    PgSelect45 --> PgSelectRows48
    PgSelectSingle49{{"PgSelectSingle[49∈0] ➊<br />ᐸleft_armᐳ"}}:::plan
    First47 --> PgSelectSingle49
    PgSelect51[["PgSelect[51∈0] ➊<br />ᐸleft_armᐳ"]]:::plan
    Object10 --> PgSelect51
    Connection53[["Connection[53∈0] ➊<br />ᐸ51ᐳ"]]:::plan
    PgSelect51 --> Connection53
    First58{{"First[58∈0] ➊"}}:::plan
    PgSelectRows59[["PgSelectRows[59∈0] ➊"]]:::plan
    PgSelectRows59 --> First58
    PgSelect56 --> PgSelectRows59
    PgSelectSingle60{{"PgSelectSingle[60∈0] ➊<br />ᐸpersonᐳ"}}:::plan
    First58 --> PgSelectSingle60
    First64{{"First[64∈0] ➊"}}:::plan
    PgSelectRows65[["PgSelectRows[65∈0] ➊"]]:::plan
    PgSelectRows65 --> First64
    PgSelect62 --> PgSelectRows65
    PgSelectSingle66{{"PgSelectSingle[66∈0] ➊<br />ᐸpostᐳ"}}:::plan
    First64 --> PgSelectSingle66
    PgSelect68[["PgSelect[68∈0] ➊<br />ᐸpostᐳ"]]:::plan
    Object10 --> PgSelect68
    Connection70[["Connection[70∈0] ➊<br />ᐸ68ᐳ"]]:::plan
    PgSelect68 --> Connection70
    PgSelectRows75[["PgSelectRows[75∈0] ➊"]]:::plan
    PgSelectRows75 --> First74
    PgSelect72 --> PgSelectRows75
    PgSelectSingle76{{"PgSelectSingle[76∈0] ➊<br />ᐸpersonᐳ"}}:::plan
    First74 --> PgSelectSingle76
    PgSelect77[["PgSelect[77∈0] ➊<br />ᐸreturn_table_without_grantsᐳ"]]:::plan
    Object10 --> PgSelect77
    First79{{"First[79∈0] ➊"}}:::plan
    PgSelectRows80[["PgSelectRows[80∈0] ➊"]]:::plan
    PgSelectRows80 --> First79
    PgSelect77 --> PgSelectRows80
    PgSelectSingle81{{"PgSelectSingle[81∈0] ➊<br />ᐸreturn_table_without_grantsᐳ"}}:::plan
    First79 --> PgSelectSingle81
    ConnectionItems86[["ConnectionItems[86∈0] ➊"]]:::plan
    Connection18 --> ConnectionItems86
    ConnectionItems103[["ConnectionItems[103∈0] ➊"]]:::plan
    Connection53 --> ConnectionItems103
    ConnectionItems113[["ConnectionItems[113∈0] ➊"]]:::plan
    Connection70 --> ConnectionItems113
    Access215{{"Access[215∈0] ➊<br />ᐸ21.m.joinDetailsFor121ᐳ"}}:::plan
    PgSelect21 --> Access215
    Access219{{"Access[219∈0] ➊<br />ᐸ30.m.joinDetailsFor128ᐳ"}}:::plan
    PgSelect30 --> Access219
    Access223{{"Access[223∈0] ➊<br />ᐸ39.m.joinDetailsFor135ᐳ"}}:::plan
    PgSelect39 --> Access223
    Access227{{"Access[227∈0] ➊<br />ᐸ56.m.joinDetailsFor142ᐳ"}}:::plan
    PgSelect56 --> Access227
    PgSelect72 --> Access231
    Lambda233{{"Lambda[233∈0] ➊<br />ᐸpgInlineViaSubqueryTransformᐳ"}}:::plan
    List232 --> Lambda233
    List84{{"List[84∈1] ➊<br />ᐸ82,83ᐳ<br />More deps:<br />- Constantᐸ'person_secrets'ᐳ[82]"}}:::plan
    PgClassExpression83{{"PgClassExpression[83∈1] ➊<br />ᐸ__person_s...person_id”ᐳ"}}:::plan
    PgClassExpression83 --> List84
    PgSelectSingle13 --> PgClassExpression83
    Lambda85{{"Lambda[85∈1] ➊<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List84 --> Lambda85
    PgClassExpression156{{"PgClassExpression[156∈1] ➊<br />ᐸ__person_s..._.”sekrit”ᐳ"}}:::plan
    PgSelectSingle13 --> PgClassExpression156
    List91{{"List[91∈3] ➊<br />ᐸ89,90ᐳ<br />More deps:<br />- Constantᐸ'people'ᐳ[89]"}}:::plan
    PgClassExpression90{{"PgClassExpression[90∈3] ➊<br />ᐸ__person__.”id”ᐳ"}}:::plan
    PgClassExpression90 --> List91
    List216{{"List[216∈3] ➊<br />ᐸ215,25ᐳ"}}:::plan
    Access215 & PgSelectSingle25 --> List216
    PgSelectSingle25 --> PgClassExpression90
    Lambda92{{"Lambda[92∈3] ➊<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List91 --> Lambda92
    First125{{"First[125∈3] ➊"}}:::plan
    PgSelectRows126[["PgSelectRows[126∈3] ➊"]]:::plan
    PgSelectRows126 --> First125
    Lambda217{{"Lambda[217∈3] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda217 --> PgSelectRows126
    PgSelectSingle127{{"PgSelectSingle[127∈3] ➊<br />ᐸperson_secretᐳ"}}:::plan
    First125 --> PgSelectSingle127
    List216 --> Lambda217
    List94{{"List[94∈4] ➊<br />ᐸ89,93ᐳ<br />More deps:<br />- Constantᐸ'people'ᐳ[89]"}}:::plan
    PgClassExpression93{{"PgClassExpression[93∈4] ➊<br />ᐸ__person__.”id”ᐳ"}}:::plan
    PgClassExpression93 --> List94
    List220{{"List[220∈4] ➊<br />ᐸ219,34ᐳ"}}:::plan
    Access219 & PgSelectSingle34 --> List220
    PgSelectSingle34 --> PgClassExpression93
    Lambda95{{"Lambda[95∈4] ➊<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List94 --> Lambda95
    First132{{"First[132∈4] ➊"}}:::plan
    PgSelectRows133[["PgSelectRows[133∈4] ➊"]]:::plan
    PgSelectRows133 --> First132
    Lambda221{{"Lambda[221∈4] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda221 --> PgSelectRows133
    PgSelectSingle134{{"PgSelectSingle[134∈4] ➊<br />ᐸperson_secretᐳ"}}:::plan
    First132 --> PgSelectSingle134
    List220 --> Lambda221
    List97{{"List[97∈5] ➊<br />ᐸ89,96ᐳ<br />More deps:<br />- Constantᐸ'people'ᐳ[89]"}}:::plan
    PgClassExpression96{{"PgClassExpression[96∈5] ➊<br />ᐸ__person__.”id”ᐳ"}}:::plan
    PgClassExpression96 --> List97
    List224{{"List[224∈5] ➊<br />ᐸ223,43ᐳ"}}:::plan
    Access223 & PgSelectSingle43 --> List224
    PgSelectSingle43 --> PgClassExpression96
    Lambda98{{"Lambda[98∈5] ➊<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List97 --> Lambda98
    First139{{"First[139∈5] ➊"}}:::plan
    PgSelectRows140[["PgSelectRows[140∈5] ➊"]]:::plan
    PgSelectRows140 --> First139
    Lambda225{{"Lambda[225∈5] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda225 --> PgSelectRows140
    PgSelectSingle141{{"PgSelectSingle[141∈5] ➊<br />ᐸperson_secretᐳ"}}:::plan
    First139 --> PgSelectSingle141
    List224 --> Lambda225
    List101{{"List[101∈6] ➊<br />ᐸ99,100ᐳ<br />More deps:<br />- Constantᐸ'left_arms'ᐳ[99]"}}:::plan
    PgClassExpression100{{"PgClassExpression[100∈6] ➊<br />ᐸ__left_arm__.”id”ᐳ"}}:::plan
    PgClassExpression100 --> List101
    PgSelectSingle49 --> PgClassExpression100
    Lambda102{{"Lambda[102∈6] ➊<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List101 --> Lambda102
    PgClassExpression157{{"PgClassExpression[157∈6] ➊<br />ᐸ__left_arm...person_id”ᐳ"}}:::plan
    PgSelectSingle49 --> PgClassExpression157
    PgClassExpression159{{"PgClassExpression[159∈6] ➊<br />ᐸ__left_arm...in_metres”ᐳ"}}:::plan
    PgClassExpression157 o--o PgClassExpression159
    PgClassExpression161{{"PgClassExpression[161∈6] ➊<br />ᐸ__left_arm__.”mood”ᐳ"}}:::plan
    PgClassExpression159 o--o PgClassExpression161
    List107{{"List[107∈8] ➊<br />ᐸ89,106ᐳ<br />More deps:<br />- Constantᐸ'people'ᐳ[89]"}}:::plan
    PgClassExpression106{{"PgClassExpression[106∈8] ➊<br />ᐸ__person__.”id”ᐳ"}}:::plan
    PgClassExpression106 --> List107
    List228{{"List[228∈8] ➊<br />ᐸ227,60ᐳ"}}:::plan
    Access227 & PgSelectSingle60 --> List228
    PgSelectSingle60 --> PgClassExpression106
    Lambda108{{"Lambda[108∈8] ➊<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List107 --> Lambda108
    First146{{"First[146∈8] ➊"}}:::plan
    PgSelectRows147[["PgSelectRows[147∈8] ➊"]]:::plan
    PgSelectRows147 --> First146
    Lambda229{{"Lambda[229∈8] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda229 --> PgSelectRows147
    PgSelectSingle148{{"PgSelectSingle[148∈8] ➊<br />ᐸleft_armᐳ"}}:::plan
    First146 --> PgSelectSingle148
    List228 --> Lambda229
    List111{{"List[111∈9] ➊<br />ᐸ109,110ᐳ<br />More deps:<br />- Constantᐸ'posts'ᐳ[109]"}}:::plan
    PgClassExpression110{{"PgClassExpression[110∈9] ➊<br />ᐸ__post__.”id”ᐳ"}}:::plan
    PgClassExpression110 --> List111
    PgSelectSingle66 --> PgClassExpression110
    Lambda112{{"Lambda[112∈9] ➊<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List111 --> Lambda112
    PgClassExpression158{{"PgClassExpression[158∈9] ➊<br />ᐸ__post__.”headline”ᐳ"}}:::plan
    PgSelectSingle66 --> PgClassExpression158
    PgClassExpression160{{"PgClassExpression[160∈9] ➊<br />ᐸ__post__.”body”ᐳ"}}:::plan
    PgClassExpression158 o--o PgClassExpression160
    PgClassExpression162{{"PgClassExpression[162∈9] ➊<br />ᐸ__post__.”author_id”ᐳ"}}:::plan
    PgClassExpression160 o--o PgClassExpression162
    List117{{"List[117∈11] ➊<br />ᐸ89,116ᐳ<br />More deps:<br />- Constantᐸ'people'ᐳ[89]"}}:::plan
    PgClassExpression116{{"PgClassExpression[116∈11] ➊<br />ᐸ__person__.”id”ᐳ"}}:::plan
    PgClassExpression116 --> List117
    PgSelectSingle76 --> PgClassExpression116
    Lambda118{{"Lambda[118∈11] ➊<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List117 --> Lambda118
    Connection153[["Connection[153∈11] ➊<br />ᐸ233ᐳ"]]:::plan
    Lambda233 --> Connection153
    ConnectionItems181[["ConnectionItems[181∈11] ➊"]]:::plan
    Connection153 --> ConnectionItems181
    PgClassExpression119{{"PgClassExpression[119∈12] ➊<br />ᐸ__return_t...rson_id_1”ᐳ"}}:::plan
    PgSelectSingle81 --> PgClassExpression119
    PgClassExpression155{{"PgClassExpression[155∈12] ➊<br />ᐸ__return_t...rson_id_2”ᐳ"}}:::plan
    PgClassExpression119 o--o PgClassExpression155
    List170{{"List[170∈16] ➊<br />ᐸ82,169ᐳ<br />More deps:<br />- Constantᐸ'person_secrets'ᐳ[82]"}}:::plan
    PgClassExpression169{{"PgClassExpression[169∈16] ➊<br />ᐸ__person_s...person_id”ᐳ"}}:::plan
    PgClassExpression169 --> List170
    PgSelectSingle127 --> PgClassExpression169
    Lambda171{{"Lambda[171∈16] ➊<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List170 --> Lambda171
    PgClassExpression184{{"PgClassExpression[184∈16] ➊<br />ᐸ__person_s..._.”sekrit”ᐳ"}}:::plan
    PgSelectSingle127 --> PgClassExpression184
    List173{{"List[173∈17] ➊<br />ᐸ82,172ᐳ<br />More deps:<br />- Constantᐸ'person_secrets'ᐳ[82]"}}:::plan
    PgClassExpression172{{"PgClassExpression[172∈17] ➊<br />ᐸ__person_s...person_id”ᐳ"}}:::plan
    PgClassExpression172 --> List173
    PgSelectSingle134 --> PgClassExpression172
    Lambda174{{"Lambda[174∈17] ➊<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List173 --> Lambda174
    PgClassExpression185{{"PgClassExpression[185∈17] ➊<br />ᐸ__person_s..._.”sekrit”ᐳ"}}:::plan
    PgSelectSingle134 --> PgClassExpression185
    List176{{"List[176∈18] ➊<br />ᐸ82,175ᐳ<br />More deps:<br />- Constantᐸ'person_secrets'ᐳ[82]"}}:::plan
    PgClassExpression175{{"PgClassExpression[175∈18] ➊<br />ᐸ__person_s...person_id”ᐳ"}}:::plan
    PgClassExpression175 --> List176
    PgSelectSingle141 --> PgClassExpression175
    Lambda177{{"Lambda[177∈18] ➊<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List176 --> Lambda177
    PgClassExpression186{{"PgClassExpression[186∈18] ➊<br />ᐸ__person_s..._.”sekrit”ᐳ"}}:::plan
    PgSelectSingle141 --> PgClassExpression186
    List179{{"List[179∈19] ➊<br />ᐸ99,178ᐳ<br />More deps:<br />- Constantᐸ'left_arms'ᐳ[99]"}}:::plan
    PgClassExpression178{{"PgClassExpression[178∈19] ➊<br />ᐸ__left_arm__.”id”ᐳ"}}:::plan
    PgClassExpression178 --> List179
    PgSelectSingle148 --> PgClassExpression178
    Lambda180{{"Lambda[180∈19] ➊<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List179 --> Lambda180
    PgClassExpression187{{"PgClassExpression[187∈19] ➊<br />ᐸ__left_arm...person_id”ᐳ"}}:::plan
    PgSelectSingle148 --> PgClassExpression187
    PgClassExpression188{{"PgClassExpression[188∈19] ➊<br />ᐸ__left_arm...in_metres”ᐳ"}}:::plan
    PgClassExpression187 o--o PgClassExpression188
    PgClassExpression189{{"PgClassExpression[189∈19] ➊<br />ᐸ__left_arm__.”mood”ᐳ"}}:::plan
    PgClassExpression188 o--o PgClassExpression189
    __Item163[/"__Item[163∈20]<br />ᐸ86ᐳ"\]:::itemplan
    ConnectionItems86 ==> __Item163
    PgSelectSingle164{{"PgSelectSingle[164∈20]<br />ᐸperson_secretᐳ"}}:::plan
    __Item163 --> PgSelectSingle164
    __Item165[/"__Item[165∈21]<br />ᐸ103ᐳ"\]:::itemplan
    ConnectionItems103 ==> __Item165
    PgSelectSingle166{{"PgSelectSingle[166∈21]<br />ᐸleft_armᐳ"}}:::plan
    __Item165 --> PgSelectSingle166
    __Item167[/"__Item[167∈22]<br />ᐸ113ᐳ"\]:::itemplan
    ConnectionItems113 ==> __Item167
    PgSelectSingle168{{"PgSelectSingle[168∈22]<br />ᐸpostᐳ"}}:::plan
    __Item167 --> PgSelectSingle168
    List193{{"List[193∈23]<br />ᐸ82,192ᐳ<br />More deps:<br />- Constantᐸ'person_secrets'ᐳ[82]"}}:::plan
    PgClassExpression192{{"PgClassExpression[192∈23]<br />ᐸ__person_s...person_id”ᐳ"}}:::plan
    PgClassExpression192 --> List193
    PgSelectSingle164 --> PgClassExpression192
    Lambda194{{"Lambda[194∈23]<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List193 --> Lambda194
    PgClassExpression201{{"PgClassExpression[201∈23]<br />ᐸ__person_s..._.”sekrit”ᐳ"}}:::plan
    PgSelectSingle164 --> PgClassExpression201
    List196{{"List[196∈24]<br />ᐸ99,195ᐳ<br />More deps:<br />- Constantᐸ'left_arms'ᐳ[99]"}}:::plan
    PgClassExpression195{{"PgClassExpression[195∈24]<br />ᐸ__left_arm__.”id”ᐳ"}}:::plan
    PgClassExpression195 --> List196
    PgSelectSingle166 --> PgClassExpression195
    Lambda197{{"Lambda[197∈24]<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List196 --> Lambda197
    PgClassExpression202{{"PgClassExpression[202∈24]<br />ᐸ__left_arm...person_id”ᐳ"}}:::plan
    PgSelectSingle166 --> PgClassExpression202
    PgClassExpression204{{"PgClassExpression[204∈24]<br />ᐸ__left_arm...in_metres”ᐳ"}}:::plan
    PgClassExpression202 o--o PgClassExpression204
    PgClassExpression206{{"PgClassExpression[206∈24]<br />ᐸ__left_arm__.”mood”ᐳ"}}:::plan
    PgClassExpression204 o--o PgClassExpression206
    List199{{"List[199∈25]<br />ᐸ109,198ᐳ<br />More deps:<br />- Constantᐸ'posts'ᐳ[109]"}}:::plan
    PgClassExpression198{{"PgClassExpression[198∈25]<br />ᐸ__post__.”id”ᐳ"}}:::plan
    PgClassExpression198 --> List199
    PgSelectSingle168 --> PgClassExpression198
    Lambda200{{"Lambda[200∈25]<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List199 --> Lambda200
    PgClassExpression203{{"PgClassExpression[203∈25]<br />ᐸ__post__.”headline”ᐳ"}}:::plan
    PgSelectSingle168 --> PgClassExpression203
    PgClassExpression205{{"PgClassExpression[205∈25]<br />ᐸ__post__.”body”ᐳ"}}:::plan
    PgClassExpression203 o--o PgClassExpression205
    PgClassExpression207{{"PgClassExpression[207∈25]<br />ᐸ__post__.”author_id”ᐳ"}}:::plan
    PgClassExpression205 o--o PgClassExpression207
    __Item190[/"__Item[190∈27]<br />ᐸ181ᐳ"\]:::itemplan
    ConnectionItems181 ==> __Item190
    PgSelectSingle191{{"PgSelectSingle[191∈27]<br />ᐸpostᐳ"}}:::plan
    __Item190 --> PgSelectSingle191
    List209{{"List[209∈28]<br />ᐸ109,208ᐳ<br />More deps:<br />- Constantᐸ'posts'ᐳ[109]"}}:::plan
    PgClassExpression208{{"PgClassExpression[208∈28]<br />ᐸ__post__.”id”ᐳ"}}:::plan
    PgClassExpression208 --> List209
    PgSelectSingle191 --> PgClassExpression208
    Lambda210{{"Lambda[210∈28]<br />ᐸbase64JSONEncodeᐳ"}}:::plan
    List209 --> Lambda210
    PgClassExpression211{{"PgClassExpression[211∈28]<br />ᐸ__post__.”headline”ᐳ"}}:::plan
    PgSelectSingle191 --> PgClassExpression211
    PgClassExpression212{{"PgClassExpression[212∈28]<br />ᐸ__post__.”body”ᐳ"}}:::plan
    PgClassExpression211 o--o PgClassExpression212
    PgClassExpression213{{"PgClassExpression[213∈28]<br />ᐸ__post__.”author_id”ᐳ"}}:::plan
    PgClassExpression212 o--o PgClassExpression213

    %% define steps
    classDef bucket0 stroke:#696969
    class Bucket0,__Value2,PgSelect7,Access8,Access9,Object10,First11,PgSelectRows12,PgSelectSingle13,PgSelect16,Connection18,PgSelect21,First23,PgSelectRows24,PgSelectSingle25,Lambda27,Access28,PgSelect30,First32,PgSelectRows33,PgSelectSingle34,Lambda36,Access37,PgSelect39,First41,PgSelectRows42,PgSelectSingle43,PgSelect45,First47,PgSelectRows48,PgSelectSingle49,PgSelect51,Connection53,PgSelect56,First58,PgSelectRows59,PgSelectSingle60,PgSelect62,First64,PgSelectRows65,PgSelectSingle66,PgSelect68,Connection70,PgSelect72,First74,PgSelectRows75,PgSelectSingle76,PgSelect77,First79,PgSelectRows80,PgSelectSingle81,ConnectionItems86,ConnectionItems103,ConnectionItems113,PgSelectInlineApply214,Access215,PgSelectInlineApply218,Access219,PgSelectInlineApply222,Access223,PgSelectInlineApply226,Access227,PgSelectInlineApply230,Access231,List232,Lambda233 bucket0
    classDef bucket1 stroke:#00bfff
    class Bucket1,PgClassExpression83,List84,Lambda85,PgClassExpression156 bucket1
    classDef bucket2 stroke:#7f007f
    class Bucket2 bucket2
    classDef bucket3 stroke:#ffa500
    class Bucket3,PgClassExpression90,List91,Lambda92,First125,PgSelectRows126,PgSelectSingle127,List216,Lambda217 bucket3
    classDef bucket4 stroke:#0000ff
    class Bucket4,PgClassExpression93,List94,Lambda95,First132,PgSelectRows133,PgSelectSingle134,List220,Lambda221 bucket4
    classDef bucket5 stroke:#7fff00
    class Bucket5,PgClassExpression96,List97,Lambda98,First139,PgSelectRows140,PgSelectSingle141,List224,Lambda225 bucket5
    classDef bucket6 stroke:#ff1493
    class Bucket6,PgClassExpression100,List101,Lambda102,PgClassExpression157,PgClassExpression159,PgClassExpression161 bucket6
    classDef bucket7 stroke:#808000
    class Bucket7 bucket7
    classDef bucket8 stroke:#dda0dd
    class Bucket8,PgClassExpression106,List107,Lambda108,First146,PgSelectRows147,PgSelectSingle148,List228,Lambda229 bucket8
    classDef bucket9 stroke:#ff0000
    class Bucket9,PgClassExpression110,List111,Lambda112,PgClassExpression158,PgClassExpression160,PgClassExpression162 bucket9
    classDef bucket10 stroke:#ffff00
    class Bucket10 bucket10
    classDef bucket11 stroke:#00ffff
    class Bucket11,PgClassExpression116,List117,Lambda118,Connection153,ConnectionItems181 bucket11
    classDef bucket12 stroke:#4169e1
    class Bucket12,PgClassExpression119,PgClassExpression155 bucket12
    classDef bucket16 stroke:#f5deb3
    class Bucket16,PgClassExpression169,List170,Lambda171,PgClassExpression184 bucket16
    classDef bucket17 stroke:#696969
    class Bucket17,PgClassExpression172,List173,Lambda174,PgClassExpression185 bucket17
    classDef bucket18 stroke:#00bfff
    class Bucket18,PgClassExpression175,List176,Lambda177,PgClassExpression186 bucket18
    classDef bucket19 stroke:#7f007f
    class Bucket19,PgClassExpression178,List179,Lambda180,PgClassExpression187,PgClassExpression188,PgClassExpression189 bucket19
    classDef bucket20 stroke:#ffa500
    class Bucket20,__Item163,PgSelectSingle164 bucket20
    classDef bucket21 stroke:#0000ff
    class Bucket21,__Item165,PgSelectSingle166 bucket21
    classDef bucket22 stroke:#7fff00
    class Bucket22,__Item167,PgSelectSingle168 bucket22
    classDef bucket23 stroke:#ff1493
    class Bucket23,PgClassExpression192,List193,Lambda194,PgClassExpression201 bucket23
    classDef bucket24 stroke:#808000
    class Bucket24,PgClassExpression195,List196,Lambda197,PgClassExpression202,PgClassExpression204,PgClassExpression206 bucket24
    classDef bucket25 stroke:#dda0dd
    class Bucket25,PgClassExpression198,List199,Lambda200,PgClassExpression203,PgClassExpression205,PgClassExpression207 bucket25
    classDef bucket27 stroke:#ffff00
    class Bucket27,__Item190,PgSelectSingle191 bucket27
    classDef bucket28 stroke:#00ffff
    class Bucket28,PgClassExpression208,List209,Lambda210,PgClassExpression211,PgClassExpression212,PgClassExpression213 bucket28

